package ooday01;

public class CarTest {
    public static void main(String[] args) {
       Car bm=new Car();
       bm.brand="宝马";
       bm.color="红色";
       bm.price=80000;
       bm.carStart();
       bm.carRun();
       bm.carStop();

       Car tsl=new Car("特斯拉","白色",9000);
       tsl.carRun();
       tsl.carStart();
       tsl.carStop();

       Car bc=new Car("奔驰","蓝色",10000);
        bc.carRun();
        bc.carStart();
        bc.carStop();

    }

}
